export default {
    namespaced: true,
    state:{
        form : {
            cm_username : "",
            cm_password : "",
            cm_nickname : "",
            cm_qq       : "",
            cm_weixin   : "",
            cm_phone    : ""
        },
        customModelData : []
    },
    mutations:{
        clearForm(state){
            state.form = {
                cm_username : "",
                cm_password : "",
                cm_nickname : "",
                cm_qq       : "",
                cm_weixin   : "",
                cm_phone    : ""
            }
        },
        updateCustomModelData(state,data){
            state.customModelData = data
        }
    }
  }